{if $list}
<div class="activity">
  <div class="activity-big">
  <ul class="clearfix js_eventsBigList">
    {foreach $list as $k=>$v}
    <li>
        <a href="{if $v.link}{$v.link}{else}{AnUrl("events/{$v.id}")}{/if}" {if $v.link}target="_blank"{/if}><img src="{_image($v.cover, 'big')}"></a>
    </li>
    {/foreach}
  </ul>
  </div>
  <div class="activity-small">
    <ul class="clearfix js_eventsSmallList">
      {foreach $list as $k=>$v}
      <li><a href="{if $v.link}{$v.link}{else}{AnUrl("events/{$v.id}")}{/if}" {if $v.link}target="_blank"{/if}><img src="{_image($v.cover, 'middle')}"></a></li>
      {/foreach}
    </ul>
  </div>
</div>
<script>
//image
$('.js_eventsBigList li').soChange({
  thumbObj:'.js_eventsSmallList li',
  thumbNowClass:'curr',
  autoChange:true
});
</script>
{else}
<div class="tips-none">
  <div class="txt" style="font-size:14px;">暂无活动。。。</div>
</div>
{/if}